package com.ctshk.rpc.booking.service;


import com.ctshk.rpc.booking.dto.system.admission.info.SupplierSystemOrderAdmissionTicketInfoDTO;
import com.ctshk.rpc.booking.req.system.admission.add.SupplierSystemOrderAdmissionTicketAddReq;
import com.ctshk.rpc.booking.req.system.admission.edit.SupplierSystemOrderAdmissionEditReq;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 系统内门票基础信息 服务类
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-03-25
 */
public interface ISupplierSystemOrderAdmissionTicketService {

    void add(Long id, Long userId, LocalDateTime nowDateTime, List<SupplierSystemOrderAdmissionTicketAddReq> supplierSystemOrderAdmissionAddReqList);

    void update(Long userId, LocalDateTime nowDateTime, List<SupplierSystemOrderAdmissionEditReq> supplierSystemOrderAdmissionEditReqList);

    List<SupplierSystemOrderAdmissionTicketInfoDTO> selectByOrderId(Long id);

    /**
     * 根据订单获取票号
     * @param orderId
     * @return
     */
    String getSystemAdmissionTickets(Long orderId);
}
